#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os.path
import sae.const


settings = {
    "sitename": "wuchengmin",  # 设置为你的站点名
    "template_path": os.path.join(os.path.dirname(__file__), "templates"),
    "static_path": os.path.join(os.path.dirname(__file__), "static"),
    # Todo: 设置开启
    "xsrf_cookies": False,
    # 设置为随机的一串字符，千万不要使用现在这个
    "cookie_secret": "YL7Mx5QrGetlbDXk4zyiTKURvhgCEoV689ZndJH1qjfNO0Iucs",
    "autoescape": None,
    "debug": True,
    "updatePassword": "findspace"
}

#数据库设置,不用修改
db = {
    "host": sae.const.MYSQL_HOST,
    "db": sae.const.MYSQL_DB,
    "port": sae.const.MYSQL_PORT,
    "user": sae.const.MYSQL_USER,
    "password": sae.const.MYSQL_PASS,
}
